package com.yulin.security_redis.mapper;

import com.yulin.security_redis.bean.Hr;
import com.yulin.security_redis.bean.Role;
import org.apache.ibatis.annotations.Mapper;

import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface HrMapper {

    Hr loadUserByUsername(String username);

    List<Role> getRolesByHrId(Long id);

}
